{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}

{% block title %}GDQ{% endblock %}

{% block page_content %}
{#<div class="page-header">#}
{#    <h1>Hello World!</h1>#}
{#</div>#}
{#<p>The local date and time is {{ moment(current_time).format('LLL') }}.</p>#}
{#<p>That was {{ moment(current_time).fromNow(refresh=True) }}.</p>#}

<div class="page-header">
    <h1>Hello, {% if name %}{{ name }}{% else %}Stranger{% endif %}!</h1>
</div>
{#{{ wtf.quick_form(NameForm) }}#}
    {{ wtf.quick_form(form) }}
{% endblock %}
